<%@ page import="examinee.ExamineeInfo" %>
<%@ page import="com.opensymphony.xwork2.util.ValueStack" %>
<%@ page import="utils.TextUtils" %>
<%@ page import="utils.Var" %>
<%@ page import="account.AccountUtils" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
  if(!AccountUtils.hasRight(session, Var.RIGHT_EXAMINEE_UPDATE)) throw new Exception("deny");
  
  ValueStack vs = (ValueStack) request.getAttribute("struts.valueStack");
  ExamineeInfo info = (ExamineeInfo) vs.findValue("info");
%>
<form action="setExaminee.action" target="execute" method="post">
<input type="hidden" name="info.eid" value="<s:property value="info.eid"/>"/>
<dl class="admin-students-control-setting">
  <dd style="padding-left:39px;">
    姓名：<input type="text" name="info.ename" value="<s:property value="info.ename"/>" class="normal" style="width:100px;"/>
    性别：<select style="width:70px;" name="info.gender">
            <option value="1" <%=info.getGender()==1?"selected":""%>>男</option>
            <option value="0" <%=info.getGender()==0?"selected":""%>>女</option>
          </select>
  </dd>

  <dd>
    准考证号：<input type="text" name="info.zkzh" value="<s:property value="info.zkzh"/>" class="normal"/>
    培训机构：<input type="text" name="info.pxjg" value="<s:property value="info.pxjg"/>" class="normal"/>
  </dd>
  <dd>
    身份证号：<input type="text" name="info.sfzh" value="<s:property value="info.sfzh"/>" class="normal"/>
    驾驶证号：<input type="text" name="info.jszh" value="<s:property value="info.jszh"/>" class="normal"/>
  </dd>
  <dd>
    报考科目：<input type="text" name="info.kskm" value="<s:property value="info.kskm"/>" class="normal"/>
    考试日期：<input type="text" id="testda" name="ksrq" onClick="WdatePicker()" value="<%=info.getKsrq() == 0 ? TextUtils.GetShowDate(System.currentTimeMillis()) : TextUtils.GetShowDate(info.getKsrq())%>" class="normal date"/>
  </dd>
  <dd>
    准驾车型：<input type="text" name="info.zjcx" value="<s:property value="info.zjcx"/>" class="normal"/>
  </dd>

  <dd style="border-bottom:0;">
    <button type="submit" class="blue"><span></span>确定</button>
    <button type="button" class="blue" onclick="kswindow.close()"><span></span>取消</button>
  </dd>
</dl>
<div style="clear:both"></div>
</form>